package com.weseal.query;

/**
 * @author weixiaoqing
 * @description
 * @create 2017/9/6
 * @company 上海富捷信息技术有限公司
 */
public class Order {
	private String alias;
	private DescType desc;

	public Order(String alias) {
		this.alias = alias;
		this.desc = DescType.DESC;
	}

	public Order() {
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public DescType getDesc() {
		return desc;
	}

	public void setDesc(DescType desc) {
		this.desc = desc;
	}

	public enum DescType {
		DESC("desc"),
		ASC("asc");
		private String value;

		DescType(String value) {
			this.value = value;
		}
	}
}
